﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Text;

namespace DreamBox.BLL.Admin
{
    public sealed class Tips
    {
        /// <summary>
        /// 本页JS提示
        /// </summary>
        /// <param name="page"></param>
        /// <param name="msg"></param>
        public static void JsTips(System.Web.UI.Page page, string msg)
        {
            page.Response.Write("<script>alert('" + msg + "');</script>");
        }
        /// <summary>
        /// 跳转提示
        /// </summary>
        /// <param name="page"></param>
        /// <param name="msg"></param>
        /// <param name="url"></param>
        /// <param name="mtype"></param>
        public static void DetailedTips(System.Web.UI.Page page,string msg,string url,string mtype)
        {
            page.Response.Redirect("/Msg.aspx?murl=" + url + "&msg=" + msg + "&mtype=" + mtype);
        }
    }
}
